home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
SDIOLE.PAK
/
SAMPCONT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
1KB
|
56 lines
///----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1994 by Borland International
// The sample ole container window. Use as a client of a frame window
//-----------------------------------------------------------------------------
#if !defined(SAMPCONT_H)
#define SAMPCONT_H
#define IDS_DOCFILEFILTER 1
#define CM_EDIT_PASTESPECIAL 301
#define CM_EDIT_PASTELINK 302
#define CM_EDIT_INSERTOBJECT 303
#if !defined(RC_INVOKED)
#if !defined(OWL_OLEWINDO_H)
# include <owl/olewindo.h>
#endif
#if !defined(OWL_PRINTER_H)
# include <owl/printer.h>
#endif
#if !defined(OWL_OPENSAVE_H)
# include <owl/opensave.h>
#endif
#include <owl/editfile.rh>
class TOleSampContainer : public TOleWindow {
public:
TOleSampContainer(TWindow* parent = 0,
const char far* fileName = 0,
TModule* module = 0);
~TOleSampContainer();
private:
void SetupWindow();
void CleanupWindow();
void CmFileSave();
void CmFileSaveAs();
void CmExit();
void CmFilePrint();
void CmFilePrinterSetup();
void CmPrintPreview();
bool CanClose();
TOpenSaveDialog::TData FileData;
TPrinter* Printer;
DECLARE_RESPONSE_TABLE(TOleSampContainer);
};
#endif
#endif